package com.zlx.store.goods;

import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure;
import com.zlx.store.common.config.RedisConfig;
import com.zlx.store.domain.entity.GoodsCategory;
import com.zlx.store.goods.dao.GoodDocDao;
import com.zlx.store.goods.dao.GoodsCategoryDao;
import com.zlx.store.goods.dao.GoodsDao;
import com.zlx.store.goods.dao.StoreDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Import;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.data.redis.core.script.DefaultRedisScript;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

@SpringBootApplication(exclude = DruidDataSourceAutoConfigure.class)
@ComponentScan("com.zlx.store")
public class GoodsApp  implements CommandLineRunner {

        public static void main(String[] args) {
                SpringApplication.run(GoodsApp.class);
        }
        //开机启动
        @Override
        public void run(String... args) throws Exception {

        }
}